﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface IDigitalTwinRepository: IBaseRepository<TInventory>
    {
        /// <summary>
        /// 根据仓位编码查询物料信息
        /// </summary>
        /// <param name="CellCode"></param>
        /// <returns></returns>
        List<TInventory> GetMaterialsByCell(string CellCode);

        /// <summary>
        /// 出入库每日统计
        /// </summary>
        /// <returns></returns>
        ReceivingShippingEverydayQty GetReceivingShippingEverydayQty();

        /// <summary>
        /// 出入库统计
        /// </summary>
        /// <returns></returns>
        ReceivingShippingQty GetReceivingShippingQty();

        /// <summary>
        /// 移库盘库统计
        /// </summary>
        /// <returns></returns>
        StocktakingTransferBinQty GetStocktakingTransferBinQty();

        /// <summary>
        /// 获取器材总数
        /// </summary>
        /// <returns></returns>
        decimal? GetMaterialQty();

        /// <summary>
        /// 出入库每周统计
        /// </summary>
        /// <returns></returns>
        List<ReceivingShippingEveryWorkQty> GetReceivingShippingWeeklyQty();
    }
}
